{% extends "base.html.twig" %}
 {%block submenu%}
{% include 'submenu.html.twig'%}
{%endblock%}
{%block content%}
{%set next = partIndex+1%}
{%set previous = partIndex-1%}
<h1>{{lessonsPart.Title}}</h1><br/>
{% autoescape false %}
{{lessonsPart.content}}
{% endautoescape %}
 <br/>
<a href="lesson/index/{{course}}/{{lesson}}/{{previous}}">Назад</a>
<a href="lesson/index/{{course}}/{{lesson}}/{{next}}">Далі</a>
<br/><a href="course/index/{{course}}">До курсу</a>
{%endblock%}